from django.contrib.auth import get_user_model
from rest_framework.generics import GenericAPIView

from rest_framework import mixins
from rest_framework import viewsets
from rest_framework.permissions import IsAdminUser
from rest_framework import serializers
from rest_framework.response import Response
User = get_user_model()

class UserSerializer(serializers.Serializer):
    username = serializers.CharField(max_length=50)


class UserListTest5V1(GenericAPIView):
    queryset = User.objects.all()
    serializer_class = UserSerializer









    






